package common.logger;

import java.io.PrintStream;

/**
 * A logger that logs to the console
 * 
 * @author Gal Lalouche
 */
public class CompositeLogger extends Logger {
	private final static CompositeLogger	instance	= new CompositeLogger();
	
	private CompositeLogger() {
		setLogLevel(LogLevel.INFO);
	}
	
	/**
	 * @return The instance
	 */
	public static CompositeLogger getInstance() {
		return instance;
	}
	
	@Override
	protected PrintStream getStream() {
		return System.out;
	}
	
}
